package com.bluefuture.modules.app.utils;

import java.util.Random;

/**
 * @Author: leo
 * @date: 2019/9/6
 */
public class CodeUtil {
    /**
     * 生成六位数随机数码
     * @return
     */
    public static String getSmsCode(){
        Random r = new Random();
        return String.valueOf(r.nextInt(900000)+100000);
    }
}
